package com.yand.frame.dao;

import com.yand.frame.entity.ActivityRoleMenu;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface ActivityRoleMenuMapper {
    int deleteByPrimaryKey(@Param("roleId") Integer roleId, @Param("menuId") Integer menuId);

    int insert(ActivityRoleMenu record);

    int insertSelective(ActivityRoleMenu record);

    int batchInsert(@Param("list") List<ActivityRoleMenu> list);

    int deleteRoleMenuByRoleId(@Param("roleId") Integer roleId);

}